﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Handrise.Mobile.BasicModal.DataLayer;

namespace Handrise.CDCable.Mobile.Business
{
    /// <summary>
    /// 视频摄像头
    /// </summary>
    [Serializable]
    [EntityMapping(TableName = "EM_Camera")]
    public class EM_Camera
    {
        [EntityMapping(IsKey = true, ColumnName = "EM_CameraID")]
        public string EM_CameraID { get; set; }

        [EntityMapping(ColumnName = "DeviceID")]
        public string DeviceID { get; set; }

        /// <summary>
        /// 单元编号
        /// </summary>
        [EntityMapping(ColumnName = "UNIT")]
        public string UNIT { get; set; }

        /// <summary>
        /// 视频源编号
        /// </summary>
        [EntityMapping(ColumnName = "NO")]
        public string NO { get; set; }

        /// <summary>
        /// 所监控的井盖GUID
        /// </summary>
        [EntityMapping(ColumnName = "WELL_ID")]
        public string WELL_ID { get; set; }

        /// <summary>
        /// 安装单位
        /// </summary>
        [EntityMapping(ColumnName = "INSTALLUNIT")]
        public string INSTALLUNIT { get; set; }

        /// <summary>
        /// X坐标
        /// </summary>
        [EntityMapping(ColumnName = "XCOOR")]
        public string XCOOR { get; set; }

        /// <summary>
        /// Y坐标
        /// </summary>
        [EntityMapping(ColumnName = "YCOOR")]
        public string YCOOR { get; set; }

        /// <summary>
        /// 位置描述
        /// </summary>
        [EntityMapping(ColumnName = "POSDESC")]
        public string POSDESC { get; set; }

        /// <summary>
        /// 自动录屏时长（分）
        /// </summary>
        [EntityMapping(ColumnName = "RECORDTIMES")]
        public string RECORDTIMES { get; set; }

        /// <summary>
        /// 隧道标准编码
        /// </summary>
        [EntityMapping(ColumnName = "TUNNELSEQUENCE")]
        public string TUNNELSEQUENCE { get; set; }

        /// <summary>
        /// 隧道名称
        /// </summary>
        [EntityMapping(ColumnName = "TUNNELNAME")]
        public string TUNNELNAME { get; set; }

        /// <summary>
        /// 标示
        /// </summary>
        [EntityMapping(ColumnName = "ENTITYNAME")]
        public string ENTITYNAME { get; set; }

    }
}
